<nav class="navbar navbar-default navbar-static-top" id="pageHeader">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="<%= global.config.contextPath + global.config.viewPrefix %>/index"
               style="padding:0;">
                <img src="<%= global.config.publicPath %>/page/images/logo.png" style="height:50px;"/>
            </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li menuCode="index"><a href="<%= global.config.contextPath + global.config.viewPrefix %>/index">首页</a>
                </li>

                <li menuCode="crm" class="dropdown">
                    <a href="<%= global.config.contextPath + global.config.viewPrefix %>#"
                       class="dropdown-toggle"
                       data-toggle="dropdown"
                       role="button"
                       aria-haspopup="true"
                       aria-expanded="false">会员管理<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li menuCode="userManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/crm/userManagement">会员信息</a>
                        </li>
                        <li menuCode="billManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/crm/billManagement">会员账单</a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li menuCode="contractManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/crm/contractManagement">合同维护</a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li menuCode="reservedManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/crm/reservedManagement">短租维护</a>
                        </li>
                        <li menuCode="inspectionManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/crm/inspectionManagement">看房预约</a>
                        </li>
                        <li menuCode="couponManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/coupon/couponManagement">券管理</a>
                        </li>
                    </ul>
                </li>

                <li menuCode="house" class="dropdown">
                    <a href="<%= global.config.contextPath + global.config.viewPrefix %>#"
                       class="dropdown-toggle"
                       data-toggle="dropdown"
                       role="button"
                       aria-haspopup="true"
                       aria-expanded="false">物业管理<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li menuCode="apartmentManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/house/apartmentManagement">公寓信息</a>
                        </li>
                        <li menuCode="roomManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/house/roomManagement">房组信息</a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li menuCode="repairManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/house/repairManagement">报修处理</a>
                        </li>
                        <li menuCode="cleanManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/house/cleanManagement">保洁处理</a>
                        </li>
                        <li menuCode="checkmeter">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/house/checkmeter">水电气抄表</a>
                        </li>
                    </ul>
                </li>

                <li menuCode="asset" class="dropdown">
                    <a href="<%= global.config.contextPath + global.config.viewPrefix %>#"
                       class="dropdown-toggle"
                       data-toggle="dropdown"
                       role="button"
                       aria-haspopup="true"
                       aria-expanded="false">资产管理<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li menuCode="productList">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/asset/productList">资产维护</a>
                        </li>
                        <li menuCode="categoryManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/asset/categoryManagement">资产模型</a>
                        </li>
                        <li menuCode="attributeManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/asset/attributeManagement">属性管理</a>
                        </li>
                    </ul>
                </li>
                <li menuCode="sysmgr" class="dropdown">
                    <a href="<%= global.config.contextPath + global.config.viewPrefix %>#"
                       class="dropdown-toggle"
                       data-toggle="dropdown"
                       role="button" aria-haspopup="true" aria-expanded="false">系统管理<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li menuCode="accountManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/sysmgr/accountManagement">账号管理</a>
                        </li>
                        <!--<li menuCode="roleManagement">-->
                            <!--<a class="navMenu"-->
                               <!--href="<%= global.config.contextPath + global.config.viewPrefix %>/sysmgr/roleManagement">角色管理</a>-->
                        <!--</li>-->
                        <li role="separator" class="divider"></li>
                        <li menuCode="enumManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/sysmgr/enumManagement">数据字典</a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li menuCode="menuManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/sysmgr/menuManagement">公众号菜单</a>
                        </li>
                        <li menuCode="dataAuthority">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/sysmgr/dataAuthority">数据权限</a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li menuCode="monthIncome">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/report/monthIncome">月收入报表</a>
                        </li>
                        <li menuCode="contractReportManagement">
                            <a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/report/contractReportManagement">合同报表</a>
                        </li>
                    </ul>
                </li>
                <li menuCode="articleManagement">
                    <a class="navMenu"
                       href="<%= global.config.contextPath + global.config.viewPrefix %>/article/articleManagement">新闻管理</a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="<%= global.config.contextPath + global.config.viewPrefix %>#" class="dropdown-toggle"
                       data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false"><%= userData['userName'] %><span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/auth/index-myInfo">个人信息</a>
                        </li>
                        <li><a class="navMenu"
                               href="<%= global.config.contextPath + global.config.viewPrefix %>/logout">退出</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>